Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 9 - Camera Objects / Camera Objects Reference
Data Structures


Orthographic Camera Data Structure

You use an orthographic camera data structure to get or set information about an orthographic camera. An orthographic camera data structure is defined by the TQ3OrthographicCameraData data type.

typedef struct TQ3OrthographicCameraData {
   TQ3CameraData              cameraData;
   float                      left;
   float                      top;
   float                      right;
   float                      bottom;
} TQ3OrthographicCameraData;
Field Description
cameraData
A camera data structure specifying basic information about the orthographic camera.
left
The left side of the orthographic camera. The value of this field (and the following three fields) is relative to the camera coordinate system.
top
The top side of the orthographic camera.
right
The right side of the orthographic camera.
bottom
The bottom side of the orthographic camera.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996